#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2017-12-22 13:58:44
# @Author  : yangxinpeng (yxpeng25877@gmail.com)
# @Link    : ${link}
# @Version : $Id$

import os
def addnum(num):
	sum=0
	for i in num:
		sum=sum+i
	return sum

	
num2=[0,1,2,3,4]
num3=addnum(num2)
print(num3)

